export default [
  {
    path: "/report",
    name: "report",
    title: "报表管理",
    component: () => import("../../layout/index.vue"),
    sort: 3,
    icon: "Menu",
    meta: {
      name: "报表管理",
      menuId: "system:report",
    },
    children: [
      {
        path: "/labelReport",
        name: "labelReport",
        title: "核销标签条报表",
        icon: "Menu",
        component: () => import("../../views/report/labelReport/index.vue"),
        meta: {
          requiresAuth: true, //有一些页面是否登录才能进去
          name: "核销标签条报表",
          menuId: "system:report:cancelLabel",
        },
      },
      {
        path: "/scoreReport",
        name: "scoreReport",
        title: "积分核销统计报表",
        icon: "Menu",
        component: () => import("../../views/report/scoreReport/index.vue"),
        meta: {
          requiresAuth: true, //有一些页面是否登录才能进去
          name: "积分核销统计报表",
          menuId: "system:report:cancelPoints",
        },
      },
      {
        path: "/dealerReport",
        name: "dealerReport",
        title: "经销商统计报表",
        icon: "Menu",
        component: () => import("../../views/report/dealerReport/index.vue"),
        meta: {
          requiresAuth: true, //有一些页面是否登录才能进去
          name: "经销商统计报表",
          menuId: "system:report:dealer",
        },
      },
    ],
  },
];
